
package com.insigma.business.qrcode.soldier._bff;



import com.insigma.business.qrcode.common.annotation.ApiServiceType;
import com.insigma.business.qrcode.common.dto.CommonAdminAreaDTO;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.ContactNoDTO;
import com.insigma.business.qrcode.soldier.dto.SimpleApiRequest;
import com.insigma.business.qrcode.soldier.request.BaseApiRequest;

import java.util.List;


public interface CommonAreaBffProvider {

    
    @ApiServiceType(value = "all.ss.area.sublist", name = "查询子地区码", desc = "查询子地区码")
    BaseResponse<List<CommonAdminAreaDTO>> findSubAreaList(BaseApiRequest adminAreaCode);

    
    @ApiServiceType(value = "all.ss.area.qg.sublist", name = "查询全国地区码", desc = "查询全国地区码")
    BaseResponse<List<CommonAdminAreaDTO>> findQGSubAreaList(BaseApiRequest request);

    
    @ApiServiceType(value = "all.ss.area.view", name = "查询子地区码", desc = "查询子地区码")
    BaseResponse<CommonAdminAreaDTO> getArea(BaseApiRequest request);

    
    @ApiServiceType(value = "area.test", name = "记得删除", desc = "记得删除")
    BaseResponse<List<CommonAdminAreaDTO>> test(BaseApiRequest adminAreaCode);


    
    @ApiServiceType(value = "gov.ss.area.father.get", name = "查询gov的上级", desc = "查询gov的上级")
    BaseResponse<CommonAdminAreaDTO> getParent(SimpleApiRequest adminAreaCode);

    
    @ApiServiceType(value = "all.ss.area.code.address.get", name = "根据地址获得地区码", desc = "根据地址获得地区码")
    BaseResponse<String> getAreaCodeByAddress(String address);

    
    String getCachedAdminCodeOfSoldier(String soldierId);

    String getCachedAdminCodeOfIdCardNo(String idCardNo);

    
    @ApiServiceType(value = "soldier.ss.contact.no", name = "查询全部区县的手机号码", desc = "查询全部区县的手机号码")
    BaseResponse<ContactNoDTO> queryCommonContactNo(SimpleApiRequest request);
}
